﻿using B.S.BaseData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.BaseData.Write.API.Application.Command
{
    public class BreedingUpdateCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int BreedId { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDay { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string Principal { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime LeaveDate { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; }

    }
}
